package com.tarena.lbs.attach.service;

import com.tarena.lbs.attach.pojo.dto.AttachDTO;
import com.tarena.lbs.attach.pojo.dto.AttachQrDTO;
import com.tarena.lbs.attach.pojo.param.AttachQRParam;
import com.tarena.lbs.attach.pojo.param.PicUpdateParam;
import com.tarena.lbs.attach.pojo.query.AttachQuery;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface AttachService {
    List<AttachDTO> getAttachInfo(AttachQuery attachQuery);
    boolean batchUpdateBusiness(List<PicUpdateParam> picParams);
    AttachQrDTO generateQrCode(AttachQRParam attachQRParam);
    boolean bindBusinessPics(List<PicUpdateParam> picParams);
    boolean bindActivityPics(List<PicUpdateParam> picParams);
    boolean bindContentPics(List<PicUpdateParam> picParams);
    AttachQrDTO generateCouponQrCode(AttachQRParam attachQRParam);
    boolean deleteAttachPics(List<Integer> attachIds);
    boolean deletePicsByBusiness(String businessId, String businessType);

    AttachDTO insertAttachInfo(MultipartFile file, String fileUuid);
}
